package com.zzzyh.forumsystemclient.dao;

import com.zzzyh.forumsystemclient.model.Role;

import java.util.List;

public interface RoleMapper {
    int insert(Role row);

    int insertSelective(Role row);

    Role selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Role row);

    int updateByPrimaryKey(Role row);

    List<Role> selectByUserId(Integer id);
}